package com.lzw.service.admin;

import com.lzw.pojo.DormitoryAdmin;

import java.util.List;

public interface DormitoryAdminManagementService {
    List<DormitoryAdmin> listDormitoryAdmins(Integer pageNum, Integer pageSize, String name, String gender, Integer dormitoryBuildingId);
    void addDormitoryAdmin(DormitoryAdmin dormitoryAdmin);
    void deleteDormitoryAdmin(List<Integer> ids);
    void updateDormitoryAdmin(DormitoryAdmin dormitoryAdmin);
    DormitoryAdmin getDormitoryAdminById(int id);
    List<DormitoryAdmin> listAll();
}
